On Sun, Oct 25, 2015 at 9:01 PM, Colin Law wrote:
> In fact I didn't write what I meant to write. Put the rendering of
> the dashboard partials in layouts/application.html.erb (or another
> layout used by relevant views if not everything needs the dashboard)
> and yield from there for the content
On 25 October 2015 at 14:59, Deepak Sharma wrote:
> On Sun, Oct 25, 2015 at 7:10 PM, Colin Law wrote:
>> The usual way to do this would be by rendering partials. You can
>> render different partials dependent on the context. Alternatively,
>> instead of rendering the scaffolds as partials from
On 25 October 2015 at 14:59, Deepak Sharma wrote:
> On Sun, Oct 25, 2015 at 7:10 PM, Colin Law wrote:
>> The usual way to do this would be by rendering partials. You can
>> render different partials dependent on the context. Alternatively,
>> instead of rendering the scaffolds as partials from
On Sun, Oct 25, 2015 at 7:10 PM, Colin Law wrote:
> The usual way to do this would be by rendering partials. You can
> render different partials dependent on the context. Alternatively,
> instead of rendering the scaffolds as partials from the dashboard,
> render the dashboard as partials from t
On 25 October 2015 at 12:59, Deepak Sharma wrote:
> In my app I have dashboard part where all major function will perform,
> besides that I have few scaffolds (question, performance etc) which I
> want to display in that dashboard. I'm little confused what will the
> best practice of doing this.
>
In my app I have dashboard part where all major function will perform,
besides that I have few scaffolds (question, performance etc) which I
want to display in that dashboard. I'm little confused what will the
best practice of doing this.
1) Make partial and then render that partial
2) By using co
6 matches
Mail list logo