Comments (5)
@erino (or anyone) - what's the thinking behind this? Actually I think I disagree with it. There have been a lot of cases recently where only part of the site has been Slices-backed, the rest being "normal" Rails. In those situations it would be nice to be able to have a common parent for the two parts:
ApplicationController
/ \
SlicesController NormalRailsController
from slices.
I agree with @bensymonds on this.
I would personally prefer to make SlicesController
a mixin so that controllers in the host app can inherit their own ApplicationController
and SlicesController
. Thoughts?
from slices.
Sounds good to me. Been doing a lot of the "normal" Rails stuff and making that harder would be traumatic.
from slices.
Yeah mixin sounds good to me.
from slices.
Should the mixin be automatically added to ApplicationController
?
from slices.
Related Issues (20)
- Handle permalink being an empty string in path_from_attributes
- [RFC] Slice Linting HOT 5
- [RFC] Fragment caching HOT 1
- [RFC] Allow users to opt-out of Entry templates
- Cannot POST to /
- Page preview for the homepage
- Better messaging around auth
- Upgrade analytics HOT 4
- NotImplementedError in Admin::SiteMapsController#index HOT 5
- Improve recording of exceptions
- `Slices::Config.google_apps_domain` should be removed HOT 1
- Don't redirect to sitemap on Mongoid::Errors::DocumentNotFound HOT 1
- Not really an issue... HOT 6
- Images only rendering at admin size, not original HOT 2
- Can't currently host Slices for free on Heroku HOT 1
- Link to next and previous page from current page HOT 2
- [RFC] Replace wiki with in-repo guides HOT 4
- `Admin#super_user?` is not checked server-side
- Search terms need escaping before passing into regexps
- Show time zone in date picker
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slices.