🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #952

Re: RoR before filter dla grupy kontrolerów

#952
From: Radosław Bułat
Date: Mon, 25 Feb 2008 12:22
20 lines
1443 bytes
edek pisze:
> 
>> w nowej klasie AdminController ( < ApplicationController), po ktorej 
>> beda dziedziczyly Twoje kontrolery. tam tez mozesz ustawic wspolny 
>> layout dla sekcji admin itp.
>>
>> pzdr
>>     szeryf
> 
> OK, dzięki, myślałem o dziedziczeniu ale wolałem się zapytać bo może 
> jest jakiś "rails-style" :)
> 
> m.

To jest właśnie rails-style. A właściwie MVC style. Nie ma powodu by 
kombinować coś innego ;).

-- 
Radosław Bułat
http://radarek.jogger.pl - mój blog
Technical Details
Message-ID: <fpubtl$ssa$1@bobo.ds5.agh.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!localhost!not-for-mail
References: <fpmp2o$tv$1@inews.gazeta.pl> <op.t6xqxv0iuw9fft@negative-361apc> <fpuapu$14o$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!localhost!not-for-mail
From: Radosław Bułat <radarrek@poczta.fm>
Newsgroups: pl.comp.lang.ruby
Subject: Re: RoR before filter dla grupy kontrolerów
Date: Mon, 25 Feb 2008 13:22:14 +0100
Organization: News serwer at news.ds5.agh.edu.pl
Lines: 20
Message-ID: <fpubtl$ssa$1@bobo.ds5.agh.edu.pl>
References: <fpmp2o$tv$1@inews.gazeta.pl> <op.t6xqxv0iuw9fft@negative-361apc> <fpuapu$14o$1@inews.gazeta.pl>
NNTP-Posting-Host: 192.168.128.101
Mime-Version: 1.0
X-Trace: bobo.ds5.agh.edu.pl 1203942133 29578 192.168.128.101 (25 Feb 2008 12:22:13 GMT)
X-Complaints-To: abuse@localhost
NNTP-Posting-Date: Mon, 25 Feb 2008 12:22:13 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.6 (X11/20071022)
In-Reply-To: <fpuapu$14o$1@inews.gazeta.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit